package com.gangan.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tl_cms_wish")
public class CmsWish implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //收藏用户id
    private Integer userId;
    //收藏文章id
    private Integer cmsId;
    //收藏状态，1则收藏，0则取消收藏
    private Integer status;
    //收藏时间
    @ApiModelProperty(value = "收藏时间，数据库自动更新",hidden = true)
    private LocalDateTime addtime;


}
